﻿using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MvcSample.Middlewares
{
    public static class LogExceptionMiddlewareExt
    {
        public static void UserLogException(this IApplicationBuilder builder)
        {
            builder.UseMiddleware<LogExceptionMiddleware>();
        }
    }
}
